class CSSParserHandler extends Object implements ICSSParserHandler
Modifier and Type | Field and Description |
---|---|
private Configuration |
_config
Html2latex program configuration.
|
Constructor and Description |
---|
CSSParserHandler(Configuration config)
Cstr.
|
Modifier and Type | Method and Description |
---|---|
void |
newStyle(String styleName,
HashMap<String,String> properties)
Called when a new style is reached in the CSS stylesheet.
|
private Configuration _config
public CSSParserHandler(Configuration config)
config
- program configurationpublic void newStyle(String styleName, HashMap<String,String> properties)
h1, h2, h3 { ... }
)
and sets style properties for each of the style names.newStyle
in interface ICSSParserHandler
styleName
- name of the styleproperties
- map with all the style's properties